package logic.bean;

import java.io.Serializable;
import java.util.List;


/**
 * 外卖订单bean
 * 
 * @author zhangnannan
 */
public class OrderTakeOutOrderBean
        implements
        Serializable
{
	
	/**
	 * 
	 */
	private static final long       serialVersionUID = 1L;
	
	private int                     actualMoney;          //订单实际总金额，int类型，单位分
	private String                  aliPayOrderNo;        //支付宝订单号，String类型
	private long                    commentTime;          //订单评论时间戳,long类型
	private long                    createTime;           //记录创建时间戳，long类型
	private long                    deliverTime;          //发货时间戳，long类型
	private UserAddressInfo         deliveryAddress;      //快递收货地址对象,请参见电商中的收获地址对象信息
	                                                       
	private long                    expressMoney;         //运费或送餐费用
	private List<OrderFoodListBean> foodsList;            //外卖订单中的菜品列表，
	private long                    freeMoney;            //订单总的优惠价格，单位分，int类型
	private long                    orderId;              //订单号，平台唯一，long类型
	private String                  orderSerial;          //订单序列号，跟支付宝对接有用
	private long                    payTime;              //支付时间戳，long类型
	private long                    payType;              //支付方式，1==在线支付，2==餐到付款
	private long                    receiveConfirmTime;   //收货确认时间戳，long类型
	private String                  remark;               //备注，String类型
	private String                  status;               //订单状态//订单状态, 订单状态 0=下单未付款 1=付款成功（待发货） 2=已发货（待收获）3=待评价 4=交易完成 5==交易关闭，如果付款方式是2时，则初始状态是2,String类型
	private String                  statusCause;          //订单失败或者关闭的原因
	private StoreInfo               storeDto;             //门店信息对象，
	private long                    totalMoney;           //订单总金额，单位分，int类型
	private int                     couponFreeMoney;      //代金券抵扣金额，单位分，int类型
	private String                  picUrl;                //外卖列表item图片
	private long                    shopId;                //门店编号
	private String                  shopPhone;             //外卖列表电话
	private String                  orderDesc;             //外卖列表订单描述
	private List<ActivityInfo>      activityList;          //参加活动列表
	
	public OrderTakeOutOrderBean() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	public OrderTakeOutOrderBean(int actualMoney, String aliPayOrderNo, long commentTime, long createTime, long deliverTime, UserAddressInfo deliveryAddress, long expressMoney, List<OrderFoodListBean> foodsList, long freeMoney, long orderId, String orderSerial, long payTime, long payType, long receiveConfirmTime, String remark, String status, String statusCause, StoreInfo storeDto, long totalMoney) {
		super();
		this.actualMoney = actualMoney;
		this.aliPayOrderNo = aliPayOrderNo;
		this.commentTime = commentTime;
		this.createTime = createTime;
		this.deliverTime = deliverTime;
		this.deliveryAddress = deliveryAddress;
		this.expressMoney = expressMoney;
		this.foodsList = foodsList;
		this.freeMoney = freeMoney;
		this.orderId = orderId;
		this.orderSerial = orderSerial;
		this.payTime = payTime;
		this.payType = payType;
		this.receiveConfirmTime = receiveConfirmTime;
		this.remark = remark;
		this.status = status;
		this.statusCause = statusCause;
		this.storeDto = storeDto;
		this.totalMoney = totalMoney;
	}
	
	public long getOrderId() {
		return orderId;
	}
	
	public void setOrderId(long orderId) {
		this.orderId = orderId;
	}
	
	public int getActualMoney() {
		return actualMoney;
	}
	
	public void setActualMoney(int actualMoney) {
		this.actualMoney = actualMoney;
	}
	
	public String getAliPayOrderNo() {
		return aliPayOrderNo;
	}
	
	public void setAliPayOrderNo(String aliPayOrderNo) {
		this.aliPayOrderNo = aliPayOrderNo;
	}
	
	public long getCommentTime() {
		return commentTime;
	}
	
	public void setCommentTime(long commentTime) {
		this.commentTime = commentTime;
	}
	
	public long getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}
	
	public long getDeliverTime() {
		return deliverTime;
	}
	
	public void setDeliverTime(long deliverTime) {
		this.deliverTime = deliverTime;
	}
	
	public UserAddressInfo getDeliveryAddress() {
		return deliveryAddress;
	}
	
	public void setDeliveryAddress(UserAddressInfo deliveryAddress) {
		this.deliveryAddress = deliveryAddress;
	}
	
	public long getExpressMoney() {
		return expressMoney;
	}
	
	public void setExpressMoney(long expressMoney) {
		this.expressMoney = expressMoney;
	}
	
	public List<OrderFoodListBean> getFoodsList() {
		return foodsList;
	}
	
	public void setFoodsList(List<OrderFoodListBean> foodsList) {
		this.foodsList = foodsList;
	}
	
	public long getFreeMoney() {
		return freeMoney;
	}
	
	public void setFreeMoney(long freeMoney) {
		this.freeMoney = freeMoney;
	}
	
	public String getOrderSerial() {
		return orderSerial;
	}
	
	public void setOrderSerial(String orderSerial) {
		this.orderSerial = orderSerial;
	}
	
	public long getPayTime() {
		return payTime;
	}
	
	public void setPayTime(long payTime) {
		this.payTime = payTime;
	}
	
	public long getPayType() {
		return payType;
	}
	
	public void setPayType(long payType) {
		this.payType = payType;
	}
	
	public long getReceiveConfirmTime() {
		return receiveConfirmTime;
	}
	
	public void setReceiveConfirmTime(long receiveConfirmTime) {
		this.receiveConfirmTime = receiveConfirmTime;
	}
	
	public String getRemark() {
		return remark;
	}
	
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	public String getStatus() {
		return status;
	}
	
	public void setStatus(String status) {
		this.status = status;
	}
	
	public String getStatusCause() {
		return statusCause;
	}
	
	public void setStatusCause(String statusCause) {
		this.statusCause = statusCause;
	}
	
	public StoreInfo getStoreDto() {
		return storeDto;
	}
	
	public void setStoreDto(StoreInfo storeDto) {
		this.storeDto = storeDto;
	}
	
	public long getTotalMoney() {
		return totalMoney;
	}
	
	public void setTotalMoney(long totalMoney) {
		this.totalMoney = totalMoney;
	}
	
	public int getCouponFreeMoney() {
		return couponFreeMoney;
	}
	
	public void setCouponFreeMoney(int couponFreeMoney) {
		this.couponFreeMoney = couponFreeMoney;
	}
	
	public String getPicUrl() {
		return picUrl;
	}
	
	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}
	
	public String getShopPhone() {
		return shopPhone;
	}
	
	public void setShopPhone(String shopPhone) {
		this.shopPhone = shopPhone;
	}
	
	public String getOrderDesc() {
		return orderDesc;
	}
	
	public void setOrderDesc(String orderDesc) {
		this.orderDesc = orderDesc;
	}

	public List<ActivityInfo> getActivityList() {
		return activityList;
	}

	public void setActivityList(List<ActivityInfo> activityList) {
		this.activityList = activityList;
	}

	public long getShopId() {
		return shopId;
	}

	public void setShopId(long shopId) {
		this.shopId = shopId;
	}
	
}
